<?//print_r($this->projects); die;?>
<? foreach ($this->pagprojects as $project):?>
<div class="allprojects">
  <h1><?=$project['title']?></h1>
  <?if (isset($project['img']))?> <img src="<?=$project['img']?>" style="max-height: 188px;    max-width: 240px; float: left; padding:  0px 15px 15px 0px; ">
   <?=$project['content']?>
<!--       <div style="clear: both;"></div>-->
<!--<div style="margin-right: 40px; float: right;">--><?//=$project['date']->format('Y-m-d')?>

</div>
<!--    <div style="clear: both;"></div>-->
<?endforeach?>


<?//
//$pages = $this->paginator->getPages();
//?>
<?// if ($pages->pageCount > 1): ?>
<!--<div class="wrapper_footer bg2 wrapper_width24">-->
<!--    --><?php //echo $this->paginationControl($this->paginator, 'Sliding', 'common/paginator/digg_search.phtml'); ?>
<!--</div>-->
<?// endif; ?>